// 基于template/src/widgets/\{{appEntities}}/\{{ctrls@MULTIEDITVIEWPANEL}}-multi-editview-panel/\{{spinalCase ctrl.codeName}}-multi-editview-panel-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class {{pascalCase ctrl.name}}ControlVO extends ControlVOBase {
    constructor(data: any){
        super(data);
        this.$ownKeys = ['{{lowerCase ctrl.psAppDataEntity.codeName}}', {{#each ctrl.psAppDataEntity.allPSAppDEFields as | field |}}'{{lowerCase field.codeName}}'{{#unless @last}}, {{/unless}}{{/each}}];
    }
    set {{lowerCase ctrl.psAppDataEntity.codeName}}(value: any) {
        this.$DO.{{lowerCase ctrl.psAppDataEntity.keyPSAppDEField.codeName}} = value;
    }
    get {{lowerCase ctrl.psAppDataEntity.codeName}}() {
        return this.$DO.{{lowerCase ctrl.psAppDataEntity.keyPSAppDEField.codeName}};
    }
    set srfkey(value: any) {
        this.$DO.{{lowerCase ctrl.psAppDataEntity.keyPSAppDEField.codeName}} = value;
    }
    get srfkey() {
        return this.$DO.{{lowerCase ctrl.psAppDataEntity.keyPSAppDEField.codeName}};
    }
    set {{lowerCase ctrl.psAppDataEntity.majorPSAppDEField.codeName}}(value: any) {
        this.$DO.{{lowerCase ctrl.psAppDataEntity.majorPSAppDEField.codeName}} = value;
    }
    get {{lowerCase ctrl.psAppDataEntity.majorPSAppDEField.codeName}}() {
        return this.$DO.{{lowerCase ctrl.psAppDataEntity.majorPSAppDEField.codeName}};
    }
}